﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using Engine.Dtd.Schema;

namespace Engine.Sgml {
    [DebuggerDisplay("{Name}")]
    internal sealed class InclusionNode : IModelGroupsNode {
        private DName name = new DName(".INCLUSION");

        static InclusionNode() {
            Instance = new InclusionNode();
            }

        public static InclusionNode Instance { get; private set; }

        public DModelGroups Parent {
            get { return null; }
            }

        public DName Name {
            get { return name; }
            }

        public DElementOccurrence Occurrence {
            get { return DElementOccurrence.ZeroOrMore; }
            }

        public IModelGroupsNode FirstItem {
            get { return null; }
            }

        public int OrderIndex {
            get { return -1; }
            }

        public DElementDeclaration Declaration {
            get { return null; }
            }
        }
    }
